
use "/Users/scottfabramson/Dropbox/io_endogenous_replication/main_text_do/tables/table_3/table_3.dta",clear




****** Table 3 **********



**** Upper Panel ******

**** col 1 ***

reg Textiles U_x, robust


**** col 2 ***

reg Textiles U_x X_x Y_x rivers agri rugged coast_length coast_dist, robust 


reg Textiles U_x X_x Y_x rivers agri rugged coast_length coast_dist

psacalc beta U_x, rmax(0.50193)


**** col 3 ***

nbreg Textiles U_x, robust

**** col 4 ***


nbreg Textiles U_x X_x Y_x rivers agri rugged coast_length coast_dist, robust 




**** col 5 *****



reg total_Iron U_x, robust




**** col 6 *****

reg total_Iron U_x X_x Y_x rivers agri rugged coast_length coast_dist, robust 



reg total_Iron U_x X_x Y_x rivers agri rugged coast_length coast_dist


psacalc beta U_x, rmax(0.45487)


***** col 7 *****


nbreg total_Iron U_x, robust

***** col 8 *****


nbreg total_Iron U_x X_x Y_x rivers agri rugged coast_length coast_dist, robust 



***** col 9 *****


reg total_proto U_x, robust



***** col 10 *****

reg total_proto U_x X_x Y_x rivers agri rugged coast_length coast_dist, robust 


reg total_proto U_x X_x Y_x rivers agri rugged coast_length coast_dist


psacalc beta U_x, rmax(0.60788)





***** col 11 *****


nbreg total_proto U_x, robust




***** col 12 *****


nbreg total_proto U_x X_x Y_x rivers agri rugged coast_length coast_dist, robust 




********* Lower Panel **********


**** col 1  ***


reg Textiles logU, robust


**** col 2  ***



reg Textiles logU X_x Y_x rivers agri rugged coast_length coast_dist, robust


reg Textiles logU X_x Y_x rivers agri rugged coast_length coast_dist

psacalc beta logU, rmax(.42796)



**** col 3  ***



nbreg Textiles logU, robust



**** col 4  ***


nbreg Textiles logU X_x Y_x rivers agri rugged coast_length coast_dist, robust



**** col 5  ***


reg total_Iron logU, robust



**** col 6  ***

reg total_Iron logU X_x Y_x rivers agri rugged coast_length coast_dist, robust


reg total_Iron logU X_x Y_x rivers agri rugged coast_length coast_dist

psacalc beta logU, rmax(0.45084)




**** col 7  ***

nbreg total_Iron logU, robust



**** col 8  ***

nbreg total_Iron logU X_x Y_x rivers agri rugged coast_length coast_dist, robust





**** col 9  ***

reg total_proto logU, robust



**** col 10  ***


reg total_proto logU X_x Y_x rivers agri rugged coast_length coast_dist, robust


reg total_proto logU X_x Y_x rivers agri rugged coast_length coast_dist

psacalc beta logU, rmax( 0.57785)



**** col 11  ***

nbreg total_proto logU, robust



**** col 12  ***

nbreg total_proto logU X_x Y_x rivers agri rugged coast_length coast_dist, robust








